package Rangel.common.world.sorter;

import rescuecore2.misc.Pair;
import rescuecore2.worldmodel.EntityID;

import java.util.Comparator;


public class ConstantComparators {//常量比较器


    public static Comparator<Pair<EntityID, Double>> DISTANCE_VALUE_COMPARATOR_DOUBLE = (o1, o2) -> {
        double l1 = o1.second();
        double l2 = o2.second();
        return Double.compare(l1, l2);

    };

}
